﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HomePage.master" AutoEventWireup="true"
    CodeFile="Kich-hoat-the.aspx.cs" Inherits="Active" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>Kích hoạt thẻ -
        <%=Common.home %></title>
    <link href="CSS/style-chitietdd.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="container">
        <div class="gioi-thieu">
            <div class="tieude-active">                
                <h1><span class="icon-home icon-white"></span> KÍCH HOẠT THẺ</h1>
            </div>
            <div class="tt-the">
                <div class="tieude-ttt">
                    <h2>
                        THÔNG TIN THẺ</h2>
                </div>
                <div class="tt-mathe">
                    <div class="left-info">
                        Mã thẻ <span class="start">(*) </span>
                    </div>
                    <div class="right-info">
                        <asp:TextBox ID="txtMaThe" runat="server" Width="235px" MaxLength="16" CssClass="textboxthe"></asp:TextBox>
                        <span class="ghichu">(gồm 16 số )</span>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" SetFocusOnError="True"
                            ControlToValidate="txtMaThe" Display="Dynamic" ErrorMessage=" (*)"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="Chỉ chấp nhận kiểu số"
                            Display="Dynamic" ValidationExpression="\d+" ControlToValidate="txtMaThe"></asp:RegularExpressionValidator>
                    </div>
                </div>
            </div>
            <div class="tt-kh">
                <h2>
                    THÔNG TIN KHÁCH HÀNG</h2>
                <div class="tt-kh-e">
                    <div class="left-info">
                        Họ tên <span class="start">(*)</span></div>
                    <div class="right-info">
                        <asp:TextBox ID="txtHoTen" runat="server" Width="200px" MaxLength="100" CssClass="textboxthe"></asp:TextBox>
                    </div>
                </div>
                <div class="tt-kh-e">
                    <div class="left-info">
                        Ngày sinh <span class="start">(*)</span></div>
                    <div class="right-info">
                        <asp:TextBox ID="txtNgaySinh" runat="server" CssClass="textboxthe" Width="100px"
                            MaxLength="10" Style="text-align: justify" />
                        <cc2:CalendarExtender ID="CalendarExtender1" TargetControlID="txtNgaySinh" Format="dd/MM/yyyy"
                            runat="server">
                        </cc2:CalendarExtender>
                        <asp:Label ID="lblNgaySinh" runat="server"></asp:Label>
                    </div>
                </div>
                <div class="tt-kh-e">
                    <div class="left-info">
                        Email <span class="start">(*)</span></div>
                    <div class="right-info">
                        <asp:TextBox ID="txtEmail" runat="server" Width="200px" MaxLength="200" CssClass="textboxthe"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" SetFocusOnError="True"
                            ControlToValidate="txtEmail" Display="Dynamic" ErrorMessage=" (*)"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="regEmail" ControlToValidate="txtEmail" Text="(Invalid email)"
                            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" runat="server" />
                    </div>
                </div>
                <div class="tt-kh-e">
                    <div class="left-info">
                        Di Động <span class="start">(*)</span></div>
                    <div class="right-info">
                        <asp:TextBox ID="txtPhone" CssClass="textboxthe" Width="200px" MaxLength="16" runat="server"></asp:TextBox>
                        <span style="font-size: 7pt; font-style: italic; color: Green; font-weight: bold">Kiểu
                            số</span>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" SetFocusOnError="True"
                            ControlToValidate="txtPhone" Display="Dynamic" ErrorMessage=" (*)"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Chỉ chấp nhận kiểu số"
                            Display="Dynamic" ValidationExpression="\d+" ControlToValidate="txtPhone"></asp:RegularExpressionValidator>
                    </div>
                </div>
                <div class="tt-kh-e">
                    <div class="left-info">
                        Địa chỉ <span class="start">(*)</span></div>
                    <div class="right-info">
                        <asp:TextBox ID="txtAddress" CssClass="textboxthe" Width="200px" MaxLength="250"
                            Rows="6" TextMode="MultiLine" runat="server"></asp:TextBox></div>
                </div>
            </div>
            <div class="add">
                Danh sách địa điểm chấp nhận thẻ và điều kiện sử dụng có thể thay đổi. Vui lòng
                đọc kỹ và đồng ý với
                <asp:HyperLink ID="linkthoathuan" runat="server" NavigateUrl="~/Dieu-khoan.aspx">Thỏa Thuận Sử Dụng </asp:HyperLink>trước
                khi tiếp tục
                <asp:Button ID="cmdSave" runat="server" OnClick="cmdSave_Click" CssClass="btn btn-success"
                    Text="Kích hoạt" />
            </div>
        </div>
    </div>
</asp:Content>
